package com.wrk._1_语法._04_循环._01_单循环;

import java.util.Scanner;

public class _009_逢7过 {
    public static void main(String[] args) {

        for (int num =1;num<=100;num++){
            int a =num%10;
            int b = num/10;
            if (a==7 || b==7){
                System.out.print("过"+"\t");
            }else {
                System.out.print(num+"\t");
            }if (num % 10 == 0) {
                System.out.println();      // 每10个换行
            }
        }
    }
}
